package com.youmu.shop.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "账户信息")
public class UserInfo {

	@ApiModelProperty(value = "id")
	private long id;
	
	@ApiModelProperty(value = "用户昵称")
	private String name;
	
    @ApiModelProperty(value = "openId")
    private String username;

	@ApiModelProperty(value = "头像")
	private String weixinPic;
	
	@ApiModelProperty(value = "剩余积分")
	private String point;
	
	@ApiModelProperty(value = "总积分")
	private String totalPoint;
	
	@ApiModelProperty(value = "用户等级")
	private String memberRank;
	
	@ApiModelProperty(value = "是否可用")
    private Boolean isEnable;

	@ApiModelProperty(value = "登陆ip")
	private String loginIp;
	
	@ApiModelProperty(value = "性别")
	private Integer sex;
	
	@ApiModelProperty(value = "注册ip")
	private String registerIp;
	
	@ApiModelProperty(value = "微信用户填写地址")
	private String address;
	
	/**
	 * 用户下一级会员等级积分数
	 */
	private String nextPoint;
	
    public String getNextPoint() {
		return nextPoint;
	}

	public void setNextPoint(String nextPoint) {
		this.nextPoint = nextPoint;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRegisterIp() {
		return registerIp;
	}

	public void setRegisterIp(String registerIp) {
		this.registerIp = registerIp;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public Boolean getIsEnable() {
        return isEnable;
    }
    
    public void setIsEnable(Boolean isEnable) {
        this.isEnable = isEnable;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getWeixinPic() {
		return weixinPic;
	}

	public void setWeixinPic(String weixinPic) {
		this.weixinPic = weixinPic;
	}

	public String getPoint() {
		return point;
	}

	public void setPoint(String point) {
		this.point = point;
	}

	public String getMemberRank() {
		return memberRank;
	}

	public void setMemberRank(String memberRank) {
		this.memberRank = memberRank;
	}
	

    public String getTotalPoint() {
        return totalPoint;
    }

    public void setTotalPoint(String totalPoint) {
        this.totalPoint = totalPoint;
    }

    @Override
    public String toString() {
        return "UserInfo [id=" + id + ", name=" + name + ", username=" + username + ", weixinPic=" + weixinPic + ", point=" + point + ", memberRank=" + memberRank + "]";
    }
}